import { IPSDEDQCondition } from './ipsdedqcondition';

/**
 *
 * 继承父接口类型值[GROUP]
 * @export
 * @interface IPSDEDQGroupCondition
 */
export interface IPSDEDQGroupCondition extends IPSDEDQCondition {
  /**
   * 组合条件
   * @description 值模式 [组合条件操作] {AND：与(AND)、 OR：或(OR) }
   * @type {( string | 'AND' | 'OR')}
   */
  condOp: string | 'AND' | 'OR';

  /**
   * 子条件集合
   *
   * @type {IPSDEDQCondition[]}
   */
  getPSDEDQConditions(): IPSDEDQCondition[] | null;

  /**
   * 子条件集合
   *
   * @type {IPSDEDQCondition[]}
   */
  get psDEDQConditions(): IPSDEDQCondition[] | null;

  findPSDEDQCondition(objKey: any): IPSDEDQCondition | null;

  /**
   * 逻辑取反
   * @type {boolean}
   * @default false
   */
  notMode: boolean;
}
